﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QLCONGNOAPPs.BaseControls
{
    public partial class ucpdateDetails : UserControl
    {
        public event EventHandler PressdUpdate = null;
        public event EventHandler PressdCancel = null;

        public ucpdateDetails()
        {
            InitializeComponent();
        }

        private void bbIUpdateItems_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if(PressdUpdate != null){
                PressdUpdate(sender, e);
            }
        }

        private void bbICancel_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if(PressdCancel != null){
                PressdCancel(sender, e);
            }
        }
    }
}
